package com.face.facerecognition.service;

import com.alibaba.fastjson.JSONObject;
import com.face.facerecognition.entity.AuthTokenStatus;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rui
 * @since 2025-01-10
 */
public interface AuthTokenStatusService extends IService<AuthTokenStatus> {

    public List<AuthTokenStatus> queryList();

    //通过token更新状态
    public boolean updateStatusByToken(String token, JSONObject jsonObject);


    AuthTokenStatus isAuth(String token);
    AuthTokenStatus isAuthRealName(String token);
}
